<template>
  <t-dialog :header="`${header}`" :visible.sync="visible" :onClose="closeDialog" :closeOnOverlayClick="false"
    :confirmBtn="null" width="80%" top="5%">
    <div style="height: 65vh">
      <suggest-detail :obj-id="objId"></suggest-detail>
    </div>
  </t-dialog>
</template>

<script>
import suggestDetail from "./suggest-detail.vue";

export default {
  name: "suggest-detail-dialog",
  components: {
    suggestDetail
  },
  props: {
    objId: [String, Number],
    header: String,
    tabDefaultValue: {
      type: String,
      default: '1'
    }
  },
  data () {
    return {
      visible: true,
      stepValue: this.tabDefaultValue,
    }
  },
  methods: {
    closeDialog () {
      this.$emit("update:visible", false);
    },
  }
}
</script>

<style scoped></style>
